#ifndef SETTINGSCONTROLLER_H
#define SETTINGSCONTROLLER_H

#include <QObject>
#include "../../view/setting/settingsview.h"
#include "./luminancecontroller.h"
#include "./systemversioncontroller.h"

class SettingsController : public QObject
{
    Q_OBJECT
public:
    explicit SettingsController(QWidget *parent);
    ~SettingsController();
    void show();//显示
private slots:
    void closeView();
    void luminancePageShow();
    void systemVersionPageShow();
private:
    QWidget *mainWidget;
    SettingsView *settingsView;
    LuminanceController *luminanceController;
    SystemVersionController *systemVersionController;
};

#endif // SETTINGSCONTROLLER_H
